package com.ysd.lis.util.qcrule;

import java.util.List;

public interface IRule {
    /// <summary>
    /// 单质控物判断
    /// 失控点只能有一个
    /// </summary>
    /// <param name="result"></param>
    /// <returns></returns>
    RuleStatement Evaluate(QCResult result);
    /// <summary>
    /// 多质控物判断
    /// 失控点一般有多个
    /// </summary>
    /// <param name="results"></param>
    /// <returns></returns>
    RuleStatement EvaluateMulti(List<QCResult> results);
}
